package com.bestcem.xm.txtanls.enums;

import lombok.Getter;

/**
 * 话题状态在枚举类
 *
 * @author liheng
 * @version v1.0
 * @date 2021/5/10-17:06
 */
@Getter
public enum TopicStatusEnum {
    /**
     * 已训练话题
     */
    DONE_TRAIN(0, "已训练"),

    /**
     * 未训练
     */
    DOING_TRAIN(1, "未训练"),

    /**
     * 不需要训练
     */
    NO_TRAIN(2, "不需要训练");

    private final String name;

    private final int index;

    TopicStatusEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }
}
